package com.basic.business.finance.mapper;

import com.basic.business.finance.domain.TMoneySummary;
import com.basic.business.finance.domain.TMoneySummaryExport;
import com.basic.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TMoneySummaryMapper extends BaseMapper<TMoneySummary> {

    /**
     * 批量入库
     */
    void batchInsert(List<TMoneySummary> list);

    /**
     * 根据主表id删除分类汇总表数据
     */
    void deleteMainIds(Object[] ids);

    /**
     * 导出信息
     */
    List<TMoneySummaryExport> getExportInfo(@Param("mainIds") List<String> mainIds);

}
